Skip to content

Conversation

@PeteGillinElastic
Copy link
Member

@PeteGillinElastic PeteGillinElastic commented Mar 27, 2025

We have seen occasional failures with the existing tolerance, in testEwmr_threadSafe which contains some randomness. We were asserting the result of a lot of f.p. operations with a tolerance of 1.0e-13. The highest error I saw in any of the reported failures was less than 1.2e-13. This PR increases the tolerance to 2.0e-13 which should allow all those to pass.

Fixes #124692

We have seen occasional failures with the existing tolerance, in
`testEwmr_threadSafe` which contains some randomness. We were
asserting the result of a lot of f.p. operations with a tolerance of
1.0e-13. The highest error I saw in any of the reported failures was
1.2e-13. This PR increases the tolerance to 2.0e-13 which should allow
all those to pass.

Fixes elastic#124692
@PeteGillinElastic PeteGillinElastic added >test Issues or PRs that are addressing/adding tests :Data Management/Stats Statistics tracking and retrieval APIs labels Mar 27, 2025
@PeteGillinElastic PeteGillinElastic marked this pull request as ready for review March 27, 2025 13:26
@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Mar 27, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Copy link
Contributor

@mattc58 mattc58 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM

@PeteGillinElastic PeteGillinElastic enabled auto-merge (squash) March 27, 2025 13:38
@PeteGillinElastic
Copy link
Member Author

+1 LGTM

Thanks!

@PeteGillinElastic PeteGillinElastic enabled auto-merge (squash) March 27, 2025 13:40
@PeteGillinElastic PeteGillinElastic merged commit 4fa4106 into elastic:main Mar 27, 2025
17 checks passed
omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
We have seen occasional failures with the existing tolerance, in
`testEwmr_threadSafe` which contains some randomness. We were
asserting the result of a lot of f.p. operations with a tolerance of
1.0e-13. The highest error I saw in any of the reported failures was less than
1.2e-13. This PR increases the tolerance to 2.0e-13 which should allow
all those to pass.

Fixes elastic#124692
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Stats Statistics tracking and retrieval APIs Team:Data Management Meta label for data/management team >test Issues or PRs that are addressing/adding tests v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] ExponentiallyWeightedMovingRateTests testEwmr_threadSafe failing

3 participants